/*
// +----------------------------------------------------------------------
// | 南昌速翔网络科技有限公司
// +----------------------------------------------------------------------
// | QQ技术：1424445608   电话/微信：15622289461
// +----------------------------------------------------------------------
// | 请务必尊重知识产权 严格保证不恶意传播产品源码、不得直接对产品本身
// | 进行二次转售或倒卖、不得对产品进行简单包装后声称为自己的产品等。
// | 否则我们有权利收回产品，并根据事态轻重追究相应法律责任。
// +----------------------------------------------------------------------
// | Copyright (c) 2019-2020 http://www.suxiangw.com/ All rights reserved.
// +----------------------------------------------------------------------
*/
// 封装广告
var adName = 'iflyAd'; //  baiduAd   ttAd 	iflyAd  zyPangolin
var ad = api.require(adName);
 
function _ad_win(js) {
    api.openWin({
        name: '_ad',
        url: _h_w + '_ad.html',
        bounces: false,
        slidBackEnabled: false,
        animation: {
            type: "none",
            subType: "from_bottom",
        },
        pageParam: {
            js: js
        },
        bgColor: 'rgba(0,0,0,0)',
    });
}

function _ad(name) {
    _ad_win(name);
}
// 开屏广告
function _kaiping() {
    _ad_win('kaiping');
}
// 插屏广告
function _chaping() {
    _ad_win('chaping');
}
// 激励广告
function _jili() {
    _ad_win('jili');
}

// 封装结束
// X2FkLmpzDQrljZfmmIzpgJ/nv5TnvZHnu5znp5HmioDmnInpmZDlhazlj7ggDQpRUeaKgOacr++8mjE0MjQ0NDU2MDggICDnlLXor50v5b6u5L+h77yaMTU2MjIyODk0NjENCuivt+WKoeW/heWwiumHjeefpeivhuS6p+adgyDkuKXmoLzkv53or4HkuI3mgbbmhI/kvKDmkq3kuqflk4HmupDnoIHjgIHkuI3lvpfnm7TmjqXlr7nkuqflk4HmnKzouqsNCui/m+ihjOS6jOasoei9rOWUruaIluWAkuWNluOAgeS4jeW+l+WvueS6p+WTgei/m+ihjOeugOWNleWMheijheWQjuWjsOensOS4uuiHquW3seeahOS6p+WTgeetieOAgg0KQ29weXJpZ2h0IChjKSAyMDE4LTIwMTkgaHR0cDovL3d3dy5zdXhpYW5ndy5jb20vIEFsbCByaWdodHMgcmVzZXJ2ZWQu